@layout("/common/_container.html"){
<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-content">
                <div class="row">
                    <div style="display: none">
                        <input type="hidden" id="checkoutMethodValue" value="">
                        <input type="hidden" id="fieldTcValue" value="">
                    </div>
                    <div class="col-sm-12">
                        <ul class="ulBox">
                            <li>
                                <span>时间</span>
                                <input type="text" id="startTime" class="selectBox" style="border: 1px solid #999999;width: 190px;"
                                       onclick="laydate({istiem:true,format:'YYYY-MM-DD 16:00:00'})">
                                <span>-</span>
                                <input type="text" id="endTime" class="selectBox" style="border: 1px solid #999999;width: 190px;"
                                       onclick="laydate({istiem:true,format:'YYYY-MM-DD 16:00:00'})">
                            </li>
                            <li>
                                <span>TC</span>
                                <select class="selectBox" id="fieldTc" name="fieldTc">
                                </select>
                            </li>
                            <li>
                                <span>客户状态</span>
                                <select class="selectBox" id="customerStatus" name="customerStatus">
                                    <option value="">全部</option>
                                    <option value="新客首次">新客首次</option>
                                    <option value="新客二次">新客二次</option>
                                    <option value="老客">老客</option>
                                    <option value="复诊">复诊</option>
                                </select>
                            </li>
                            <li style="float: right;margin: 0;">
                                <div style="width: 288px;height: 39px;border: 1px solid #cccccc;border-radius: 3px">
                                    <span class="glyphicon glyphicon-search" style="padding: 7px 0px 0px 10px;"></span>
                                    <input type="text" id="reach" placeholder="姓名/电话/微信/预约号"
                                           onchange="Recharge.inquire()" style="width: 238px;height: 35px;border: none;float: right;outline:none;margin-top: 1px">
                                </div>
                            </li>
                        </ul>
                    </div>
                    <div class="col-sm-12 clearfix" style="margin: 20px 0;">
                        <div class="btnBox" style="float: right">
                            <button type="button" class="btn" onclick="resetSearch_jztj()">重置</button>
                            <button type="button" class="btn" onclick="downLoad()">导出</button>
                        </div>
                    </div>
                    <div class="col-sm-12" style="background:#3b97d3;;line-height: 46px;height: 46px;margin-bottom: 20px;"></div>
                    <div class="col-sm-12">
                        <div class="table-responsive">
                            <table id="report_table" border="1" class="table table-bordered table-hover table-striped" style="overflow:scroll;text-align: center"></table>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</div>
<script src="${ctxPath}/static/modular/arrival/customer/paymentTotal.js"></script>
<script>
    $("#report_table").bootstrapTable({
        striped: false,
        pagination: true,
        sidePagination:'client',
        pageSize: 10,
        pageList: [5, 10, 15, 20],
        height: $(window).height() - 205
    });
</script>
@}
<style>
    ul{  padding: 0; margin: 0; }
    .selectBox {  width: 170px;  height: 39px;  border-radius: 5px;  padding-left: 5px;  }
    .ulBox>li{  float: left; margin-right: 3%  }
    .btnBox>button{ background: #30add1;color: white; width: 96px;}
</style>